using System;

public partial class GameCollection
{
    public class FolderVO : IComparable<FolderVO>
    {
        public string Path { get; private set; }
        public GameVO Game { get; private set; }

        public FolderVO(string path, GameVO game)
        {
            Path = path;
            Game = game;
        }

        public int CompareTo(FolderVO folder)
        {
            return string.Compare(Path, folder.Path, StringComparison.Ordinal);
        }
    }
}